package com.roper.yygh.hosp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * Description: Service Hosp 启动类
 * Date:      2021/6/20 21:59
 * author:    LPH
 * version:   V1.0
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.roper")
@EnableDiscoveryClient
// 根据服务名字找到服务，进行远程调用
@EnableFeignClients(basePackages = "com.roper")
public class ServiceHospApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceHospApplication.class);
    }
}
